package com.example.ssh.service.impl;

import com.example.ssh.dao.UserDao;
import com.example.ssh.pojo.User;
import com.example.ssh.service.UserService;

/**
 * @Description
 * @Author konglz
 * @Data 2023/7/5 16:09
 */
public class UserServiceImpl implements UserService {

    private UserDao userDao;

    @Override
    public User list() {
        return userDao.list();
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public UserDao getUserDao() {
        return userDao;
    }
}


